package BC134_KiKi的最高分;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int max = 0;
        while (sc.hasNext()){
            int pre = sc.nextInt();
            if (pre > max){
                max = pre;
            }
        }

        System.out.println(max);
    }
}
